let x=1
let y=2

const z=100


function fn1(){
    console.log('fn1')
}

let obj={
    name:'zs',
    age:18,
    hello:function(){
        console.log(this.name+':'+this.age)
    }
}

let pet={
    name:'大黄',
    sex:'雄',
    play:function(ball){
        console.log(this.name+','+this.sex+',玩'+ball)
    }
}

// export {x}
// export {x,y,z}
export { x as m,y,z,fn1,obj as stu}
// export {pet}

// export default 默认值
export default pet
